const baseURL = process.env.PROXY_URL;

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: false,
  compiler: {
    styledComponents: true,
  },
  rewrites: async () => {
    return [
      {
        source: "/dev-api/:path*",
        destination: baseURL + "/:path*",
      },
    ];
  },
};

export default nextConfig;
